"""
页面相同属性
"""


class BasePage:
    def __init__(self,driver):
        self.driver =driver

    def open(self):
        self.driver.get(self.url)

    # 财务模块获取表格
    def get_table_element(self):
        return self.driver.find_element(*self.table_locator)

